package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "group_member_tbl")
@Alias(value = "groupMemberTbl")
public class GroupMemberTbl extends PageDto {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Column(name = "group_id")
    private Long groupId;//群id

    @Column(name = "user_id")
    private Long userId;//群主id

    @Column(name = "username")
    private String username;//群昵称

    @Column(name = "manager")
    private Integer manager;//是否是管理员

    @Column(name = "baned")
    private Integer baned;//是否禁言

    @Column(name = "remind")
    private Integer remind;//是否提醒

    @Column(name = "host")
    private Integer host;//是否是群主

    @Column(name = "updated_time")
    private Long updatedTime;

    @Column(name = "quit")
    private Integer quit;//是否退出

    @Column(name = "quit_time")
    private Long quitTime;//退出时间


    private User user;


    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getManager() {
        return manager;
    }

    public void setManager(Integer manager) {
        this.manager = manager;
    }

    public Integer getBaned() {
        return baned;
    }

    public void setBaned(Integer baned) {
        this.baned = baned;
    }

    public Integer getRemind() {
        return remind;
    }

    public void setRemind(Integer remind) {
        this.remind = remind;
    }

    public Integer getHost() {
        return host;
    }

    public void setHost(Integer host) {
        this.host = host;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getQuit() {
        return quit;
    }

    public void setQuit(Integer quit) {
        this.quit = quit;
    }

    public Long getQuitTime() {
        return quitTime;
    }

    public void setQuitTime(Long quitTime) {
        this.quitTime = quitTime;
    }


}
